﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;
public partial class newsdetail : WebPageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["gid"] != null && Request.QueryString["nid"] != null)
                Page.Title = BLL.CommonBLL.MainTitle + " : " + new BLL.CmsBLL().GroupNews_GetTitle(int.Parse("0" + Request.QueryString["gid"].ToString())) +
                    " : " + new BLL.CmsBLL().News_GetTitle(int.Parse("0" + Request.QueryString["nid"].ToString()));
            else
                Page.Title = BLL.CommonBLL.MainTitle;
        }
    }
}
